package com.note.dao.view;

import com.note.pojo.Comment;
import com.note.pojo.notePageShow;

import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.List;

public interface viewDao {
    public List<notePageShow> getAllNotes() throws SQLException;
    public int addcomment(int noteId, String content, Timestamp createTime, String nickname, int parentId) throws SQLException;
    public List<Comment> getAllComments(int noteId) throws SQLException;
}
